-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type '"token_separators"' is not assignable to type 'keyof CollectionCreateSchemaWithSrc'. #269
Comments
Could you give an example where that error occurs? |
@tharropoulos happens in terminal when trying to compile the app with ng serve. I'm guessing it's some dependency conflict, but have no idea which one. |
It should be a tsc error. Could you try running tsc against your app, and look for the line numbers in the trace |
|
Thanks, will take a look. |
@tharropoulos Thanks, appreciate it. |
There don't seem to be any type errors in the library as of 2.0.2. Could you provide your |
// tsconfig.json // tsconfig.app.json // tsconfig.spec.json |
The PR I posted should take care of this |
@tharropoulos awesome! That fixes it. Any idea when that will make its way into a released version? Thanks again. |
Hi,
Since updating to 2.0.2 I can no longer compile due to the error below. Cannot figure out what is causing it. I've had to go with skipLibCheck in the meantime.
Any ideas?
"typescript": "~5.4.5"
[ng] Type '"token_separators"' is not assignable to type 'keyof CollectionCreateSchemaWithSrc'. [plugin angular-compiler] [ng] node_modules/typesense/lib/Typesense/Collection.d.ts:10:84: [ng] 10 │ ...ollectionCreateSchema, "token_separators" | "symbols_to_index">> {
Thanks
The text was updated successfully, but these errors were encountered: