0.0.3: Exotic Type Gymnastics #3
|
@ -12,8 +12,10 @@ interface ComponentOptions {
|
||||||
newValue: string,
|
newValue: string,
|
||||||
) => void
|
) => void
|
||||||
states?: Record<string, unknown>
|
states?: Record<string, unknown>
|
||||||
statesListeners?: { [key: string]: (value: unknown) => void }
|
// biome-ignore lint/suspicious/noExplicitAny: no assuming the types of arguments
|
||||||
funcs?: { [key: string]: (...args: unknown[]) => void }
|
statesListeners?: { [key: string]: (value: any) => void }
|
||||||
|
// biome-ignore lint/suspicious/noExplicitAny: no assuming the types of arguments
|
||||||
|
funcs?: { [key: string]: (...args: any[]) => void }
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CustomElement extends HTMLElement {
|
interface CustomElement extends HTMLElement {
|
||||||
|
|
|
@ -35,7 +35,9 @@
|
||||||
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
||||||
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
||||||
"typeRoots": ["./src/types"], /* Specify multiple folders that act like './node_modules/@types'. */
|
"typeRoots": [
|
||||||
|
"./src/types"
|
||||||
|
] /* Specify multiple folders that act like './node_modules/@types'. */,
|
||||||
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
// "types": [], /* Specify type package names to be included without being referenced in a source file. */
|
||||||
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
||||||
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user