Skip to content

Commit 1cabc86

Browse files
committed
fix: typecheck failure
1 parent ff93bf2 commit 1cabc86

4 files changed

Lines changed: 22 additions & 3 deletions

File tree

src/lang/en-us.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@
6868
"read only file": "Cannot save read only file. Please try save as",
6969
"reload": "Reload",
7070
"rename": "Rename",
71+
"new name": "New name",
72+
"enter new name": "Enter new name",
73+
"code actions": "Code Actions",
7174
"replace": "Replace",
7275
"required": "This field is required",
7376
"run your web app": "Run your web app",

src/lang/index.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ declare type LangStrings = {
7171
"read only file": string;
7272
"reload": string;
7373
"rename": string;
74+
"new name": string;
75+
"enter new name": string;
76+
"code actions": string;
7477
"replace": string;
7578
"required": string;
7679
"run your web app": string;
@@ -397,6 +400,11 @@ declare type LangStrings = {
397400
"quicktools:exclamation": string;
398401
"quicktools:alt-key": string;
399402
"quicktools:meta-key": string;
403+
"quicktools:search-prev": string;
404+
"quicktools:search-next": string;
405+
"quicktools:search-settings": string;
406+
"quicktools:search-replace": string;
407+
"quicktools:search-replace-all": string;
400408
"info-quicktoolssettings": string;
401409
"info-excludefolders": string;
402410
"missed files": string;

src/lib/startAd.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ export let adUnitIdInterstitial = "ca-app-pub-5911839694379275/9570937608"; // P
55
export let adUnitIdRewarded = "ca-app-pub-5911839694379275/1633667633"; // Production
66
export let initialized = false;
77

8-
/** @type {import("plugins/admob/esm").BannerAd} */
8+
/** @type {import("plugins/admob/src/www").BannerAd} */
99
export let bannerAd = null;
10-
/** @type {import("plugins/admob/esm").InterstitialAd} */
10+
/** @type {import("plugins/admob/src/www").InterstitialAd} */
1111
export let interstitialAd = null;
1212

1313
export default async function startAd() {

tsconfig.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,13 @@
2222
"types": ["node"]
2323
},
2424
"include": ["src/**/*"],
25-
"exclude": ["node_modules", "platforms", "www", "www/js/ace/**/*"]
25+
"exclude": [
26+
"node_modules",
27+
"platforms",
28+
"www",
29+
"www/js/ace/**/*",
30+
"src/plugins/admob/esm",
31+
"src/plugins/admob/lib",
32+
"src/plugins/admob/www"
33+
]
2634
}

0 commit comments

Comments
 (0)