Typescript and collections

Hello, trying to convert my project to typescript i get this error

Module '"../node_modules/@types/forest-express-sequelize"' has no exported member 'collection'

for this code

import { collection } from 'forest-express-sequelize';

but this

const { collection } = require('forest-express-sequelize');

transpile fine

Hello !
Did you follow this documentation ?

Hi @Nicolas_Sailly, thanks for helping.

Yes.

I have translated all my models to typescript and it works fine.

Hi @Nicolas_Sailly sorry for delay i made a little video to show you the problem.

Hi @Benjamin_Marquis,

Thanks for sharing this video :ok_hand:

Is this error avoiding your admin backend to work well or is it only a code editor error?