Browse Source

feat: add a common Option interface

pull/3655/head
Arman Ozak 7 years ago
parent
commit
a2cb21d413
  1. 9
      npm/ng-packs/packages/core/src/lib/models/common.ts

9
npm/ng-packs/packages/core/src/lib/models/common.ts

@ -1,7 +1,7 @@
import { eLayoutType } from '../enums/common';
import { Config } from './config';
import { EventEmitter } from '@angular/core';
import { Subject } from 'rxjs';
import { eLayoutType } from '../enums/common';
import { Config } from './config';
export namespace ABP {
export interface Root {
@ -51,6 +51,11 @@ export namespace ABP {
name: string;
}
export interface Option<T> {
key: Extract<keyof T, string>;
value: T[Extract<keyof T, string>];
}
export interface Dictionary<T = any> {
[key: string]: T;
}

Loading…
Cancel
Save