Skip to content

Commit

Permalink
Fix breaking change with formatIdentifier renamed to `printIdentifi…
Browse files Browse the repository at this point in the history
…er` (#3809)

Keeping both for now, could also add `@deprecated` on`formatIdentifier`
to give ide guidance
  • Loading branch information
timotheeguerin authored Jul 10, 2024
1 parent 22ac8af commit 07193ba
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .chronus/changes/fix-breaking-change-2024-6-10-19-47-36.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# Change versionKind to one of: internal, fix, dependencies, feature, deprecation, breaking
changeKind: internal
packages:
- "@typespec/compiler"
---

Fix breaking change with `formatIdentifier` renamed to `printIdentifier`
2 changes: 1 addition & 1 deletion packages/compiler/src/core/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export {
// eslint-disable-next-line deprecation/deprecation
stringTemplateToString,
} from "./string-template-utils.js";
export { printIdentifier } from "./syntax-utils.js";
export { printIdentifier as formatIdentifier, printIdentifier } from "./syntax-utils.js";
export * from "./type-name-utils.js";
export * from "./usage-resolver.js";

0 comments on commit 07193ba

Please sign in to comment.