Commit Graph

4 Commits

Author SHA1 Message Date
Sidharth Vinod 11b599d77c
chore: Fix type imports 2023-08-22 13:44:11 +05:30
Brian Graham 4cdb43f791 ts-ignore comment was misleading, JISON doesn't support types 2023-08-01 14:30:58 +02:00
Remco Haszing b7d31adda4
Support node16 module resolution
The `node16` module resolution requires imports to use the `.js` file
extension in type definitions.

`@rollup/plugin-typescript` is needed to make this work with the Vite
setup used by Mermaid.

The module option for Mermaid internally is set to `nodenext`. This is
needed to support `.json` imports. Note that setting `module` to
`node16` or `nodenext` implies a matching `moduleResolution` value.
2023-03-11 14:54:21 +01:00
Sidharth Vinod 25bc381361
chore(split): gitGraph 2022-11-18 16:10:06 +05:30