You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
792 B
1 lines
792 B
{"ast":null,"code":"const mutable = val => val;\nexport { mutable };","map":{"version":3,"names":["mutable","val"],"sources":["../../../../packages/utils/typescript.ts"],"sourcesContent":["export const mutable = <T extends readonly any[] | Record<string, unknown>>(\n val: T\n) => val as Mutable<typeof val>\nexport type Mutable<T> = { -readonly [P in keyof T]: T[P] }\n\nexport type HTMLElementCustomized<T> = HTMLElement & T\n\n/**\n * @deprecated stop to use null\n * @see {@link https://github.com/sindresorhus/meta/discussions/7}\n */\nexport type Nullable<T> = T | null\n\nexport type Arrayable<T> = T | T[]\nexport type Awaitable<T> = Promise<T> | T\n"],"mappings":"AAAY,MAACA,OAAO,GAAIC,GAAG,IAAKA,GAAA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|