-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Hi, thank you for your library
while working with it in a TS project I wrote some types
hope they help someone
declare module "fft-js" {
type Phasors = [number, number][];
function dft(vector: number[]): Phasors;
function fft(vector: number[]): Phasors;
function fftInPlace(): unknown;
function idft(phasors: Phasors): Phasors;
function ifft(phasors: Phasors): Phasors;
const util: {
exponent: () => void;
fftFreq: (phasors: Phasors, freq: number) => unknown;
fftMag: (phasors: Phasors) => unknown;
};
}cmayor314, codetheweb, smikitky, mikedubcurry, IrynaMatviichuk and 8 more
Metadata
Metadata
Assignees
Labels
No labels