Skip to content

Commit

Permalink
Merge pull request #199 from evoactivity/sort-types
Browse files Browse the repository at this point in the history
Sort types for stable diffs
  • Loading branch information
Quramy authored Oct 12, 2023
2 parents 31f0830 + 119898f commit 1c33a07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dts-content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ export class DtsContent {

const result = this.rawTokenList
.map(k => convertKey(k))
.map(k => (!this.namedExports ? 'readonly "' + k + '": string;' : 'const ' + k + ': string;'));
.map(k => (!this.namedExports ? 'readonly "' + k + '": string;' : 'const ' + k + ': string;'))
.sort();

return result;
}
Expand Down

0 comments on commit 1c33a07

Please sign in to comment.