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": [
|
"include": [
|
||||||
"../src/js/typings/globals.d.ts",
|
|
||||||
"../src/**/*.ts",
|
"../src/**/*.ts",
|
||||||
"../src/**/*.tsx",
|
"../src/**/*.tsx",
|
||||||
],
|
],
|
||||||
"exclude": ["../node_modules"],
|
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
"noImplicitAny": true,
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"target": "ES2020",
|
"target": "ES2020",
|
||||||
"noImplicitAny": true,
|
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"lib": [ "ES2020", "DOM" ],
|
"lib": [ "ES2020", "DOM" ],
|
||||||
|
"typeRoots": ["../src/js/types/globals.d.ts", "../node_modules/@types"],
|
||||||
|
"skipLibCheck": true,
|
||||||
"baseUrl": "../src/",
|
"baseUrl": "../src/",
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/*": ["./js/*"],
|
"~/*": ["./js/*"],
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import * as preact from "preact";
|
import * as preact from "preact";
|
||||||
import * as hooks from "preact/hooks";
|
import * as hooks from "preact/hooks";
|
||||||
|
import classn from "classnames";
|
||||||
|
|
||||||
declare global {
|
declare global {
|
||||||
const render: typeof preact.render;
|
const render: typeof preact.render;
|
||||||
|
@ -7,4 +8,5 @@ declare global {
|
||||||
const useEffect: typeof hooks.useEffect;
|
const useEffect: typeof hooks.useEffect;
|
||||||
const useRef: typeof hooks.useRef;
|
const useRef: typeof hooks.useRef;
|
||||||
const useMemo: typeof hooks.useMemo;
|
const useMemo: typeof hooks.useMemo;
|
||||||
|
const classNames: typeof classn;
|
||||||
}
|
}
|
Loading…
Reference in a new issue