Sample project: https://github.com/jmagaram/functors Look at file `Simple.res` with the code: ```res @genType let hello = JSON.Encode.string("hello") ``` The TypeScript is... ```ts import * as SimpleJS from './Simple.res.mjs'; import type {t as Core__JSON_t} from '@rescript/core/src/Core__JSON.gen'; export const hello: Core__JSON_t = SimpleJS.hello as any; ``` And the error on the second line is... > Cannot find module '@rescript/core/src/Core__JSON.gen' or its corresponding type declarations.