14 lines
1.7 KiB
Plaintext
14 lines
1.7 KiB
Plaintext
|
|
> find-word@0.2.3 lint
|
|
> eslint . && tsc --noEmit
|
|
|
|
src/App.tsx(249,54): error TS2367: This comparison appears to be unintentional because the types '"ready" | "loading" | "playing" | "answer" | "feedback"' and '"results"' have no overlap.
|
|
src/App.tsx(250,16): error TS2367: This comparison appears to be unintentional because the types '"ready" | "loading" | "playing" | "answer" | "feedback"' and '"results"' have no overlap.
|
|
tests/audio.test.ts(284,95): error TS2352: Conversion of type '(value: { duration: number; length: number; sampleRate: number; numberOfChannels: number; getChannelData: () => Float32Array<ArrayBuffer>; copyToChannel: Mock<(samples: Float32Array<...>) => void>; } | PromiseLike<...>) => void' to type '(buffer: AudioBuffer) => void' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
|
|
Types of parameters 'value' and 'buffer' are incompatible.
|
|
Type 'AudioBuffer' is not comparable to type '{ duration: number; length: number; sampleRate: number; numberOfChannels: number; getChannelData: () => Float32Array<ArrayBuffer>; copyToChannel: Mock<(samples: Float32Array<ArrayBufferLike>) => void>; } | PromiseLike<...>'.
|
|
Type 'AudioBuffer' is not comparable to type '{ duration: number; length: number; sampleRate: number; numberOfChannels: number; getChannelData: () => Float32Array<ArrayBuffer>; copyToChannel: Mock<(samples: Float32Array) => void>; }'.
|
|
Types of property 'getChannelData' are incompatible.
|
|
Type '(channel: number) => Float32Array<ArrayBuffer>' is not comparable to type '() => Float32Array<ArrayBuffer>'.
|
|
Target signature provides too few arguments. Expected 1 or more, but got 0.
|