index.d.ts 632 B

123456789101112131415161718192021
  1. /// <reference path="./request.d.ts" />
  2. /// <reference path="./patient.d.ts" />
  3. /// <reference path="./health.d.ts" />
  4. declare namespace App {
  5. interface Dictionary {
  6. name: string;
  7. key: string;
  8. options: { label: string, value: string }[]
  9. }
  10. }
  11. interface Tickle {
  12. showMessage(type: 'info' | 'success' | 'warn' | 'error', content: string, duration?: number): void;
  13. showInfoMessage(content: string, duration?: number): void;
  14. showSuccessMessage(content: string, duration?: number): void;
  15. showWarnMessage(content: string, duration?: number): void;
  16. showErrorMessage(content: string, duration?: number): void;
  17. }