@autobusal/common 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Viewer/types.ts +6 -1
- package/package.json +1 -1
package/Viewer/types.ts
CHANGED
|
@@ -10,7 +10,12 @@ export interface ViewData {
|
|
|
10
10
|
rules?: string
|
|
11
11
|
notice?: string
|
|
12
12
|
url?: string
|
|
13
|
-
|
|
13
|
+
// Edited: Ferjolt Ozuni - Date: 2026-08-01
|
|
14
|
+
// Was `(id: 'string' | 'number')`, i.e. a value that had to literally BE
|
|
15
|
+
// the string "string" or "number" - almost certainly the type names typed
|
|
16
|
+
// by mistake where the types themselves were meant. Every caller was
|
|
17
|
+
// silently working around it by annotating its own parameter as `any`.
|
|
18
|
+
onChange?: (value: string | number) => void
|
|
14
19
|
}
|
|
15
20
|
|
|
16
21
|
export interface ActionData {
|