build: enable TSLint on the packages folder (#18459)
porting PRs #18392 and #18441 to 4.x
This commit is contained in:
@ -9,9 +9,13 @@ module.exports = (gulp) => () => {
|
||||
// todo(vicb): add .js files when supported
|
||||
// see https://github.com/palantir/tslint/pull/1515
|
||||
'./modules/**/*.ts',
|
||||
'./packages/**/*.ts',
|
||||
'./tools/**/*.ts',
|
||||
'./*.ts',
|
||||
|
||||
// Ignore node_modules directories
|
||||
'!**/node_modules/**',
|
||||
|
||||
// Ignore TypeScript mocks because it's not managed by us
|
||||
'!./tools/@angular/tsc-wrapped/test/typescript.mocks.ts',
|
||||
|
||||
|
3
tools/public_api_guard/forms/forms.d.ts
vendored
3
tools/public_api_guard/forms/forms.d.ts
vendored
@ -144,9 +144,6 @@ export declare class DefaultValueAccessor implements ControlValueAccessor {
|
||||
onChange: (_: any) => void;
|
||||
onTouched: () => void;
|
||||
constructor(_renderer: Renderer2, _elementRef: ElementRef, _compositionMode: boolean);
|
||||
_compositionEnd(value: any): void;
|
||||
_compositionStart(): void;
|
||||
_handleInput(value: any): void;
|
||||
registerOnChange(fn: (_: any) => void): void;
|
||||
registerOnTouched(fn: () => void): void;
|
||||
setDisabledState(isDisabled: boolean): void;
|
||||
|
Reference in New Issue
Block a user