Skip to content

Commit bdc7676

Browse files
committed
[Restore] noImplicitAny to false
1 parent 1706d5f commit bdc7676

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

app/html/webcomponent.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@
1616
export let flip: string;
1717
export let footer: string;
1818
19-
let text: "hello-world";
20-
2119
async function getHelloWorld() {
22-
const { app } = await webcomponent({ text });
20+
const { app } = await webcomponent({ text: "hello-world" });
2321
2422
return app();
2523
}

app/types/webcomponent.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface ModuleInterface {
2323
*
2424
* @interface [ModuleInterface](https://github.com/ptkdev-boilerplate/svelte-webcomponent-boilerplate/blob/main/app/webcomponent/types/module.type.ts)
2525
*
26-
* @param { String } text - input text
26+
* @param {string} text - input text
2727
*
2828
*/
2929
text: string

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"resolveJsonModule": true,
88
"moduleResolution": "node",
99
"esModuleInterop": true,
10-
"noImplicitAny": true,
10+
"noImplicitAny": false,
1111
"noImplicitThis": true,
1212
"declaration": false,
1313
"strict": false,

0 commit comments

Comments
 (0)