The default type deduced by tsc from the JS works
This file was apparently never in use (its extension was not .d.ts).
This commit is contained in:
10
desktop/src/main/types/clip-bpe-js.d.ts
vendored
10
desktop/src/main/types/clip-bpe-js.d.ts
vendored
@@ -1,10 +0,0 @@
|
||||
/**
|
||||
* Types for [clip-bpe-js](https://github.com/josephrocca/clip-bpe-js).
|
||||
*
|
||||
* Non exhaustive, only the function we need.
|
||||
*/
|
||||
declare module "clip-bpe-js" {
|
||||
class Tokenizer {
|
||||
encodeForCLIP(text: string): number[];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user