fvtt-types
Version:
TypeScript type definitions for Foundry VTT
19 lines (12 loc) • 724 B
text/typescript
/* eslint-disable @typescript-eslint/no-unused-vars */
// After seeing that none of these types add anything or are even exported a
// very reasonable question may be: Why on earth does this file exist?
//
// Well this is the file in which Foundry defines these types. We don't house
// them here because it has poor discoverability. It's also just nice to
// have as reference to keep us synced with the latest version of Foundry.
export {};
type AudioBufferCacheEntry = foundry.audio.AudioBufferCache.Entry;
type SoundCreationOptions = foundry.audio.AudioHelper.SoundCreationOptions;
type SoundPlaybackOptions = foundry.audio.Sound.PlaybackOptions;
type SoundScheduleCallback = foundry.audio.Sound.ScheduleCallback;