index.d.ts doesn't have getAllFlags method/function which results in linting errors when using typescript.
const flagsmith = useFlagsmith();
flagsmith.getAllFlags() // Error here: TS2339 Property 'getAllFlags' does not exist on type 'Flagsmith'.
(flagsmith as any).getAllFlags() // This is the temp fix for now
Ideally index.d.ts should have getAllFlags method in schema.
index.d.ts doesn't have getAllFlags method/function which results in linting errors when using typescript.
const flagsmith = useFlagsmith();
flagsmith.getAllFlags() // Error here: TS2339 Property 'getAllFlags' does not exist on type 'Flagsmith'.
(flagsmith as any).getAllFlags() // This is the temp fix for now
Ideally index.d.ts should have getAllFlags method in schema.