You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/framework/types.ts
+31-19Lines changed: 31 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
1
/* eslint-disable no-use-before-define */
2
2
import{OptionsasAjvOptions}from'ajv';
3
3
4
+
/********
5
+
Typescript string literals are broken and require this garbage to work: https://stackoverflow.com/questions/37978528/typescript-type-string-is-not-assignable-to-type so we'll break the allowed validation using typescript interfaces, we don't really care to use this for validation of the schema, so any place we use string literals we'll allow any "STRING" until it is fixed.
6
+
=> When fixed search here for places with `'literal' | string` and remove the string part.
0 commit comments