ag-grid和AOT构建

时间:2017-11-06 18:43:08

标签: angular npm ag-grid aot

尝试执行aot build时出现此错误,想知道是否有人遇到此错误

Error at /Users/liambayly/WebDev/XPO/ng-xpo-board/node_modules/ag-grid/dist/lib/filter/baseFilter.d.ts:21:31: Class 'BaseFilter<T, P, M>' incorrectly implements interface 'IFilterComp'.
  Types of property 'afterGuiAttached' are incompatible.
    Type '(params: IAfterGuiAttachedParams) => void' is not assignable to type '((params?: IFilterAfterGuiAttachedParams | undefined) => void) | undefined'.
      Type '(params: IAfterGuiAttachedParams) => void' is not assignable to type '(params?: IFilterAfterGuiAttachedParams | undefined) => void'.
        Types of parameters 'params' and 'params' are incompatible.
          Type 'IFilterAfterGuiAttachedParams | undefined' is not assignable to type 'IAfterGuiAttachedParams'.
            Type 'undefined' is not assignable to type 'IAfterGuiAttachedParams'.

0 个答案:

没有答案