Skip to content

Commit 17ff54e

Browse files
committed
fix(example): use proper types
1 parent 7064feb commit 17ff54e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

apps/nuxt3/app.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
</template>
1212
<script setup lang="ts">
1313
import { loadFull } from "tsparticles";
14-
import type { IOptions } from "tsparticles-engine";
15-
import {Container} from "tsparticles-engine";
14+
import type { ISourceOptions, Container } from "tsparticles-engine";
1615
1716
const options = {
1817
background: {
@@ -37,7 +36,7 @@ const options = {
3736
value: 100
3837
}
3938
}
40-
} as IOptions
39+
} as ISourceOptions
4140
4241
const particlesInit = async (engine) => {
4342
await loadFull(engine)

0 commit comments

Comments
 (0)