in global scope. Which can be called by global.signin(). I have this declaration
declare global {
namespace NodeJS {
interface Global {
signin(): Promise<string[]>;
}
}
}
With what name should I save this file in ./typings folder?
Any idea guyz?
You can save it anywhere, it must just be part of your includes
Обсуждают сегодня