Adam Shaw 8 лет назад
Родитель
Сommit
71e287a179
3 измененных файлов с 6 добавлено и 6 удалено
  1. 1 1
      package.json
  2. 3 3
      src/Calendar.ts
  3. 2 2
      src/exports.ts

+ 1 - 1
package.json

@@ -86,4 +86,4 @@
     "test": "gulp test:single",
     "lint": "gulp lint"
   }
-}
+}

+ 3 - 3
src/Calendar.ts

@@ -37,9 +37,9 @@ export default class Calendar {
 	stopListeningTo: ListenerInterface['stopListeningTo']
 
 	// not for internal use. use options module directly instead.
-	static defaults = globalDefaults
-	static englishDefaults = englishDefaults
-	static rtlDefaults = rtlDefaults
+	static defaults: any = globalDefaults
+	static englishDefaults: any = englishDefaults
+	static rtlDefaults: any = rtlDefaults
 
 	view: any // current View object
 	viewsByType: any // holds all instantiated view instances, current or not

+ 2 - 2
src/exports.ts

@@ -46,8 +46,8 @@ export {
 } from './locale'
 
 export { default as moment } from './moment-ext';
-export { default as EmitterMixin } from './common/EmitterMixin'
-export { default as ListenerMixin } from './common/ListenerMixin'
+export { default as EmitterMixin, EmitterInterface } from './common/EmitterMixin'
+export { default as ListenerMixin, ListenerInterface } from './common/ListenerMixin'
 export { default as Model } from './common/Model'
 export { default as Constraints } from './Constraints'
 export { default as UnzonedRange } from './models/UnzonedRange'