@digest/typescript 4.10.0-next.1 → 4.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/shared.d.ts +14 -8
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@digest/typescript",
|
|
3
3
|
"title": "TypeScript Digest",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "4.10.
|
|
5
|
+
"version": "4.10.1",
|
|
6
6
|
"description": "Digested TypeScript configurations",
|
|
7
7
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
8
8
|
"contributors": [
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"lint": "run-p lint:es",
|
|
33
|
-
"lint:es": "eslint
|
|
33
|
+
"lint:es": "eslint",
|
|
34
34
|
"clean": "rimraf node_modules package-lock.json npm-debug.log"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"digest",
|
|
41
41
|
"typescript"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "60ad97d2f28d787d9d3edb61be8df6c549921786"
|
|
44
44
|
}
|
package/src/shared.d.ts
CHANGED
|
@@ -16,21 +16,27 @@
|
|
|
16
16
|
along with Node Digest . If not, see <https://www.gnu.org/licenses/>.
|
|
17
17
|
|
|
18
18
|
*/
|
|
19
|
+
|
|
19
20
|
declare module '*.css';
|
|
20
21
|
declare module '*.scss';
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
24
|
+
// @ts-expect-error
|
|
25
|
+
declare let System: {
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
27
|
+
import: any;
|
|
24
28
|
};
|
|
25
29
|
|
|
26
|
-
|
|
27
|
-
//
|
|
28
|
-
/* https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html#new---resolvejsonmodule */
|
|
29
|
-
/*declare module '*.json' {
|
|
30
|
+
declare module '*.json' {
|
|
31
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
30
32
|
const value: any;
|
|
33
|
+
// eslint-disable-next-line @typescript-eslint/prefer-ts-expect-error
|
|
31
34
|
// @ts-ignore
|
|
32
35
|
export default value;
|
|
33
|
-
}
|
|
34
|
-
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
39
|
+
// @ts-expect-error
|
|
40
|
+
declare let BUILD: {
|
|
35
41
|
DATE: Date;
|
|
36
42
|
};
|