@typespec/playground 0.9.0-dev.1 → 0.9.0-dev.3

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.
@@ -2535,6 +2535,9 @@ const DiagnosticItem = ({ diagnostic, onItemSelected }) => {
2535
2535
  ] });
2536
2536
  };
2537
2537
  const DiagnosticTargetLink = memo(({ target }) => {
2538
+ if (target === void 0) {
2539
+ return /* @__PURE__ */ jsx("span", { title: "Diagnostic didn't report a target. This is a bug on the emitter.", children: "No target" });
2540
+ }
2538
2541
  if (typeof target === "symbol") {
2539
2542
  return /* @__PURE__ */ jsx("span", {});
2540
2543
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typespec/playground",
3
- "version": "0.9.0-dev.1",
3
+ "version": "0.9.0-dev.3",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec playground UI components.",
6
6
  "homepage": "https://typespec.io",
@@ -62,7 +62,7 @@
62
62
  "@fluentui/react-components": "~9.61.2",
63
63
  "@fluentui/react-icons": "^2.0.292",
64
64
  "@typespec/bundler": "^0.3.0 || >=0.4.0-dev <0.4.0",
65
- "@typespec/compiler": "^0.67.1 || >=0.68.0-dev <0.68.0",
65
+ "@typespec/compiler": "^0.67.2 || >=0.68.0-dev <0.68.0",
66
66
  "@typespec/html-program-viewer": "^0.67.1 || >=0.68.0-dev <0.68.0",
67
67
  "@typespec/http": "^0.67.1 || >=0.68.0-dev <0.68.0",
68
68
  "@typespec/openapi": "^0.67.1 || >=0.68.0-dev <0.68.0",
@@ -114,7 +114,7 @@
114
114
  "watch": "vite build --watch",
115
115
  "storybook": "sb dev",
116
116
  "build: storybook": "sb build",
117
- "preview": "npm run build && vite preview",
117
+ "preview": "pnpm build && vite preview",
118
118
  "start": "vite",
119
119
  "test": "echo 'no tests'",
120
120
  "test:ci": "echo 'no tests'",