Skip to content

maxakuru/api-extractor-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reproducible example of a bug with readonly class properties with api-extractor v7.24.0

Bug example

File: /src/index.ts

Test: npm start

Declaration:

export declare class Test {
    readonly foo = "bar";
}

Valid example

File: /valid/index.ts

Test: npm start:valid

Declaration:

export declare class Test {
    readonly foo: string;
    readonly bar: "ok";
    readonly baz?: string;
    qux: string;
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors