Skip to content

Commit 4b568b5

Browse files
Remove unnecessary type assertion to fix lint error
Co-authored-by: DanielRosenwasser <972891+DanielRosenwasser@users.noreply.github.com>
1 parent 5d03b8c commit 4b568b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/transformers/declarations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1626,7 +1626,7 @@ export function transformDeclarations(context: TransformationContext): Transform
16261626
elems = elems || [];
16271627
elems.push(factory.createPropertyDeclaration(
16281628
ensureModifiers(param),
1629-
elem.name as Identifier,
1629+
elem.name,
16301630
/*questionOrExclamationToken*/ undefined,
16311631
ensureType(elem),
16321632
/*initializer*/ undefined,

0 commit comments

Comments
 (0)