AT
Size: a a a
AT
LC
KS
useRegistry<string>(...)LC
M
const local = rquire('lib'), что-то не помнюKS
LC
const local = rquire('lib'), что-то не помнюM
LC
M
LC
export = and import = require()
Both CommonJS and AMD generally have the concept of an exports object which contains all exports from a module.
АИ
useRegistry<string>(...)M
export = and import = require()
Both CommonJS and AMD generally have the concept of an exports object which contains all exports from a module.
M
LC
import * as LocalSession from 'telegraf-session-local';Это все исправляет, мне просто в подсказке кидало только вариант с require.
KS
KS
'a' | 'b'KS
AM
KS
type MyGen<T> = T extends 'one' ? 'x' : 'y'