Prechádzať zdrojové kódy

Quick fix remaining linter error.

Dominik Kremer 7 rokov pred
rodič
commit
87dff2c1b0
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      src/moment-ext.ts

+ 2 - 1
src/moment-ext.ts

@@ -9,10 +9,11 @@ with the NOTABLE EXCEOPTION of start/end dates that live on *Event Objects*.
 Ambiguously-TIMED moments are assumed to be ambiguously-zoned by nature.
 Ambiguously-TIMED moments are assumed to be ambiguously-zoned by nature.
 */
 */
 
 
+type MomentExtDuration = moment.Duration
 declare module 'moment' {
 declare module 'moment' {
   interface Moment {
   interface Moment {
     hasTime(): boolean
     hasTime(): boolean
-    time(): moment.Duration
+    time(): MomentExtDuration
     stripZone()
     stripZone()
     stripTime()
     stripTime()
   }
   }