pull/2494/head
Jérémy Rialland 2023-02-01 21:37:30 +01:00 committed by Johan Girod
parent 9c3be66b7e
commit cf1ae9f089
1 changed files with 3 additions and 2 deletions

View File

@ -9,8 +9,9 @@ dotenv.config()
const path = '../../dist/simulation-data.json'
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
const simuData = (await import(path, { assert: { type: 'json' } }))
.default as unknown as Omit<MetadataSrc, 'component'>
const simuData = (await import(path, {
assert: { type: 'json' },
})) as unknown as Omit<MetadataSrc, 'component'>
console.log(simuData)