@illandril/foundryvtt-types
Version:
Type definitions for the Foundry VTT client, used by Illandril's modules
26 lines (23 loc) • 393 B
TypeScript
type Currency = {
label: string;
abbreviation: string;
conversion?: {
into: string;
each: number;
};
};
declare global {
namespace dnd5e {
namespace config {
interface currencies {
cp: Currency;
ep: Currency;
gp: Currency;
pp: Currency;
sp: Currency;
}
const currencies: currencies;
}
}
}
export type {};