File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
goldens/public-api/angular_devkit/schematics/src
packages/angular_devkit/schematics/src/tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -588,9 +588,6 @@ export class InvalidUpdateRecordException extends BaseException {
588
588
constructor ();
589
589
}
590
590
591
- // @public @deprecated (undocumented)
592
- export function isAction(action : any ): action is Action ;
593
-
594
591
// @public (undocumented)
595
592
export function isContentAction(action : Action ): action is CreateFileAction | OverwriteFileAction ;
596
593
Original file line number Diff line number Diff line change @@ -158,21 +158,6 @@ export function isContentAction(action: Action): action is CreateFileAction | Ov
158
158
return action . kind == 'c' || action . kind == 'o' ;
159
159
}
160
160
161
- /**
162
- * @deprecated since version 11.0. not used anymore can be removed in future version.
163
- */
164
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
165
- export function isAction ( action : any ) : action is Action {
166
- const kind = action && action . kind ;
167
-
168
- return (
169
- action !== null &&
170
- typeof action . id == 'number' &&
171
- typeof action . path == 'string' &&
172
- ( kind == 'c' || kind == 'o' || kind == 'r' || kind == 'd' )
173
- ) ;
174
- }
175
-
176
161
// Create a file. If the file already exists then this is an error.
177
162
export interface CreateFileAction extends ActionBase {
178
163
readonly kind : 'c' ;
You can’t perform that action at this time.
0 commit comments