add treeshaking tests

This commit is contained in:
Rene Haas
2022-08-10 02:09:20 +02:00
parent 35d4d908f4
commit 641449ac82
44 changed files with 1187 additions and 243 deletions
-1
View File
@@ -1,4 +1,3 @@
/// <reference types="jest" />
export declare const generateSelectCallback: (targetElms: HTMLElement[] | HTMLElement | null, callback: (targetAffectedElm: HTMLElement, possibleValues: string[], selectedValue: string) => any) => (event: Event | HTMLSelectElement | null) => void;
export declare const generateClassChangeSelectCallback: (targetElms: HTMLElement[] | HTMLElement | null) => (event: Event | HTMLSelectElement | null) => void;
export declare const selectOption: (select: HTMLSelectElement | null, selectedOption: string | number) => boolean;
+2 -1
View File
@@ -2,6 +2,7 @@
"extends": "@~local/tsconfig",
"compilerOptions": {
"outDir": "./dist/",
"baseUrl": "./src/"
"baseUrl": "./src/",
"typeRoots": []
}
}