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
In the current TypeScript implementation, it is impossible to construct a DynamicScheme. The constructor for DynamicScheme requires the Variant enum, which is not a const enum. This enum is not exported. Additionally, no functionality is available to auto-generate a DynamicScheme from a given color or image, which limits dynamic usability.
Fix
File: typescript/index.ts
export * from './dynamiccolor/dynamic_color.js';
export * from './dynamiccolor/dynamic_scheme.js';
export * from './dynamiccolor/material_dynamic_colors.js';
+ export * from './dynamiccolor/variant.js';
The text was updated successfully, but these errors were encountered:
In the current TypeScript implementation, it is impossible to construct a
DynamicScheme
. The constructor forDynamicScheme
requires theVariant
enum, which is not a const enum. This enum is not exported. Additionally, no functionality is available to auto-generate a DynamicScheme from a given color or image, which limits dynamic usability.Fix
File: typescript/index.ts
export * from './dynamiccolor/dynamic_color.js'; export * from './dynamiccolor/dynamic_scheme.js'; export * from './dynamiccolor/material_dynamic_colors.js'; + export * from './dynamiccolor/variant.js';
The text was updated successfully, but these errors were encountered: