@typespec/compiler 0.48.0-dev.5 → 0.48.0-dev.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/manifest.js CHANGED
@@ -1,4 +1,4 @@
1
1
  export default {
2
- "version": "0.48.0-dev.5",
3
- "commit": "bb3d2df9b4cdecee09371652d107e2f2ed8aa947"
2
+ "version": "0.48.0-dev.7",
3
+ "commit": "16c173f7432af553b04708622951eb3c9e36d94d"
4
4
  };
@@ -18,7 +18,7 @@ export async function formatTypeSpecFiles(patterns, { exclude, debug }) {
18
18
  if (e instanceof PrettierParserError) {
19
19
  const details = debug ? e.message : "";
20
20
  // eslint-disable-next-line no-console
21
- console.error(`File '${file}' failed to fromat. ${details}`);
21
+ console.error(`File '${file}' failed to format. ${details}`);
22
22
  }
23
23
  else {
24
24
  throw e;
@@ -43,7 +43,7 @@ export async function findUnformattedTypeSpecFiles(patterns, { exclude, debug })
43
43
  if (e instanceof PrettierParserError) {
44
44
  const details = debug ? e.message : "";
45
45
  // eslint-disable-next-line no-console
46
- console.error(`File '${file}' failed to fromat. ${details}`);
46
+ console.error(`File '${file}' failed to format. ${details}`);
47
47
  unformatted.push(file);
48
48
  }
49
49
  else {
@@ -46,6 +46,7 @@ extern dec doc(target: unknown, doc: valueof string, formatArgs?: {});
46
46
  * op Action<T>(): T;
47
47
  * ```
48
48
  */
49
+ #deprecated "@deprecated decorator is deprecated. Use the `#deprecated` directive instead."
49
50
  extern dec deprecated(target: unknown, message: valueof string);
50
51
 
51
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/compiler",
3
- "version": "0.48.0-dev.5",
3
+ "version": "0.48.0-dev.7",
4
4
  "description": "TypeSpec Compiler Preview",
5
5
  "author": "Microsoft Corporation",
6
6
  "license": "MIT",