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
exportinterfaceIStoreApp{windowWidth: number;windowHeight: number;pageActive: boolean;isLoading: boolean;language: 'en'|'ru'|'tt';// <-- This line}classAppimplementsIStoreApp{// Environment observables
@observablewindowWidth=0;
@observablewindowHeight=0;
@observablepageActive=true;// PWA environments
@observableisLoading=true;// User observables
@observablelanguage='en';// <-- This line}exportdefaultnewApp();
🙁 Actual behavior
Property 'language' in type 'App' is not assignable to the same property in base type 'IStoreApp'.
Type 'string' is not assignable to type '"en" | "ru" | "tt"'.
🙂 Expected behavior
Working type validating with one of three available language
The text was updated successfully, but these errors were encountered:
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
Playground link with relevant code
💻 Code
🙁 Actual behavior
🙂 Expected behavior
Working type validating with one of three available language
The text was updated successfully, but these errors were encountered: