We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 322ba40 commit f0ebfe2Copy full SHA for f0ebfe2
package.json
@@ -21,7 +21,7 @@
21
"lint": "eslint \"src/**/*.{ts,tsx}\"",
22
"test": "jest --silent",
23
"clean": "rimraf pkg/**",
24
- "build": "npm run clean && pika build",
+ "build": "npm run ts-check && npm run lint && npm run clean && pika build",
25
"ts-check": "tsc --noEmit",
26
"version": "npm run test && npm run lint && npm run build"
27
},
src/utils/utils.ts
@@ -1,4 +1,5 @@
1
import { BaseProps } from '../typings/BaseProps';
2
+import { ReactComponentElement } from 'react';
3
4
const __DEV__ = process.env.NODE_ENV === 'development' || process.env.NODE_ENV === 'test';
5
const alreadyWarned: { [key: string]: Date } = {};
0 commit comments