mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
refactor(common): remove remaining code for NgSwitch equality patch (#56806)
This change is the final cleanup after removing NgSwitch's equality patch that was used in G3 to allow == matching for a certain period of time. This code is no longer needed as both the external ecosystem and G3 are using === equality for matching NgSwitch cases. PR Close #56806
This commit is contained in:
parent
fdd8fb0e66
commit
8de9acac74
2 changed files with 0 additions and 14 deletions
|
|
@ -14,7 +14,6 @@ import {
|
|||
Optional,
|
||||
TemplateRef,
|
||||
ViewContainerRef,
|
||||
ɵformatRuntimeError as formatRuntimeError,
|
||||
ɵRuntimeError as RuntimeError,
|
||||
} from '@angular/core';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright Google LLC All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
* A constant indicating a type of comparison that NgSwitch uses to match cases. Extracted to a
|
||||
* separate file to facilitate G3 patches.
|
||||
*/
|
||||
export const NG_SWITCH_USE_STRICT_EQUALS = true;
|
||||
Loading…
Reference in a new issue