Fix CI
This commit is contained in:
parent
9599c2ca5f
commit
4889d67157
2 changed files with 5 additions and 4 deletions
|
@ -1,20 +1,19 @@
|
|||
{
|
||||
"include": [
|
||||
"../src/js/typings/globals.d.ts",
|
||||
"../src/**/*.ts",
|
||||
"../src/**/*.tsx",
|
||||
],
|
||||
"exclude": ["../node_modules"],
|
||||
"compilerOptions": {
|
||||
"strict": true,
|
||||
"noImplicitAny": true,
|
||||
"module": "commonjs",
|
||||
"target": "ES2020",
|
||||
"noImplicitAny": true,
|
||||
"moduleResolution": "node",
|
||||
"esModuleInterop": true,
|
||||
"jsx": "react-jsx",
|
||||
"lib": [ "ES2020", "DOM" ],
|
||||
|
||||
"typeRoots": ["../src/js/types/globals.d.ts", "../node_modules/@types"],
|
||||
"skipLibCheck": true,
|
||||
"baseUrl": "../src/",
|
||||
"paths": {
|
||||
"~/*": ["./js/*"],
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import * as preact from "preact";
|
||||
import * as hooks from "preact/hooks";
|
||||
import classn from "classnames";
|
||||
|
||||
declare global {
|
||||
const render: typeof preact.render;
|
||||
|
@ -7,4 +8,5 @@ declare global {
|
|||
const useEffect: typeof hooks.useEffect;
|
||||
const useRef: typeof hooks.useRef;
|
||||
const useMemo: typeof hooks.useMemo;
|
||||
const classNames: typeof classn;
|
||||
}
|
Loading…
Reference in a new issue