Skip to content

Definitely assign assertion preserved on field in declaration files #1736

@dragomirtitian

Description

@dragomirtitian

Steps to reproduce

export class DbObject {
    id!: string;
}

Playground Link

Behavior with [email protected]

The ! is removed from declaration files

Behavior with tsgo

The ! is preserved in declaration files

export declare class DbObject {
    id!: string;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions