Skip to content

Commit eee2cc8

Browse files
committed
fix(example): use type declaration
1 parent 55980f1 commit eee2cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/nuxt3/app.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import { loadFull } from "tsparticles";
1414
import type { ISourceOptions, Container } from "tsparticles-engine";
1515
16-
const options = {
16+
const options: ISourceOptions = {
1717
background: {
1818
color: "#fff"
1919
},
@@ -36,7 +36,7 @@ const options = {
3636
value: 100
3737
}
3838
}
39-
} as ISourceOptions
39+
}
4040
4141
const particlesInit = async (engine) => {
4242
await loadFull(engine)

0 commit comments

Comments
 (0)