You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
index.ts exports all of model/types/index.js, but only selected functions are exported. This causes consumers to import functions that are not directly exported like this:
import { sumProofs } from "@cashu/cashu-ts/dist/lib/es5/utils";
We should make sure to only include exported members in the d.ts rollup. This can be done by either explicitly selecting exported types, or using typedoc tags and api-extractor's rollup feature
The text was updated successfully, but these errors were encountered:
index.ts
exports all ofmodel/types/index.js
, but only selected functions are exported. This causes consumers to import functions that are not directly exported like this:import { sumProofs } from "@cashu/cashu-ts/dist/lib/es5/utils";
We should make sure to only include exported members in the d.ts rollup. This can be done by either explicitly selecting exported types, or using typedoc tags and api-extractor's rollup feature
The text was updated successfully, but these errors were encountered: