X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fcustom-typings.d.ts;h=882d15d54b2888a057907f2b5f411b9b52c64528;hb=a685e25ca05f08ad1b3f7fbaccc8744727bd8d27;hp=621a416b4a1301c686893486a3cbfbf6e287939c;hpb=8635a2c70cc24a4c52558162ac058de95750271f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/custom-typings.d.ts b/client/src/custom-typings.d.ts index 621a416b4..882d15d54 100644 --- a/client/src/custom-typings.d.ts +++ b/client/src/custom-typings.d.ts @@ -1,3 +1,5 @@ +/* tslint: disable */ + /* * Custom Type Definitions * When including 3rd party modules you also need to include the type definition for the module @@ -58,6 +60,7 @@ declare module 'modern-lru' { // Extra variables that live on Global that will be replaced by webpack DefinePlugin declare var ENV: string; +declare var API_URL: string; declare var HMR: boolean; declare var System: SystemJS; @@ -67,6 +70,7 @@ interface SystemJS { interface GlobalEnvironment { ENV: string; + API_URL: string; HMR: boolean; SystemJS: SystemJS; System: SystemJS;