mirror of
https://github.com/kotaindah55/extended-markdown-syntax.git
synced 2026-07-22 05:38:06 +00:00
feat: add Writable type utility
This commit is contained in:
parent
c2b47a6df0
commit
bbdd8523aa
1 changed files with 4 additions and 0 deletions
4
src/types.d.ts
vendored
4
src/types.d.ts
vendored
|
|
@ -68,6 +68,10 @@ declare global {
|
|||
interface Window {
|
||||
globalThis: typeof globalThis;
|
||||
}
|
||||
|
||||
type Writable<T> = {
|
||||
-readonly [P in keyof T]: T[P];
|
||||
}
|
||||
}
|
||||
|
||||
/** Token interface */
|
||||
|
|
|
|||
Loading…
Reference in a new issue