eslint-plugin-sort-exports icon indicating copy to clipboard operation
eslint-plugin-sort-exports copied to clipboard

Should not put export of used member before declaration type for that member

Open AuthorProxy opened this issue 8 months ago • 0 comments

export class StoreState {
 
}

export const state: StoreState = new StoreState();

this plugin tries to move export const state to the first place - which leads to typescript error: 'Class StoreState used before its declaration.'

AuthorProxy avatar Jun 06 '24 11:06 AuthorProxy