]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/custom-typings.d.ts
Update webpack stack
[github/Chocobozzz/PeerTube.git] / client / src / custom-typings.d.ts
index 621a416b4a1301c686893486a3cbfbf6e287939c..67e069cc61e229ea6f3ce6e2467c608d9d94227e 100644 (file)
@@ -58,6 +58,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 +68,7 @@ interface SystemJS {
 
 interface GlobalEnvironment {
   ENV: string;
+  API_URL: string;
   HMR: boolean;
   SystemJS: SystemJS;
   System: SystemJS;