fvtt-types
Version:
TypeScript type definitions for Foundry VTT
13 lines (10 loc) • 669 B
text/typescript
// In Foundry itself this file contains re-exports of these other modules.
// Therefore it has a runtime effect and uses `.mjs` instead of `.d.mts`.
// While `.mts` could work, to avoid `import-x/no-unresolved` from erroring `.mjs` is used.
/* eslint-disable import-x/extensions */
export * as types from "./_types.mjs";
export * as terms from "./terms/_module.mjs";
export { default as Roll } from "./roll.mjs";
// export { default as RollGrammar } from "./grammar.pegjs"; // TODO: Figure out if there's a good way to statically type the PEGGY grammar
export { default as RollParser } from "./parser.mjs";
export { default as MersenneTwister } from "./twister.mjs";