Skip to content

Commit d26e634

Browse files
committed
javascript -> JS
1 parent e391664 commit d26e634

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

articles/typespec/quickstart-scaffold-typescript.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,9 @@ Now that the basic Express.js API server is working, update the Express.js serve
298298
import { HttpContext } from "../generated/helpers/router.js";
299299
import { Container } from "@azure/cosmos";
300300

301-
export interface WidgetDocument {
302-
id: string;
303-
weight: number;
304-
color: "red" | "blue";
305-
_ts?: number; // Cosmos DB timestamp
306-
_etag?: string; // Cosmos DB etag for optimistic concurrency
301+
export interface WidgetDocument extends Widget {
302+
_ts?: number;
303+
_etag?: string;
307304
}
308305

309306
/**
@@ -568,7 +565,7 @@ Create the files needed to have a repeatable deployment with [Azure Developer CL
568565
```yml
569566
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
570567
571-
name: azure-typespec-scaffold-javascript
568+
name: azure-typespec-scaffold-js
572569
metadata:
573570
574571
services:

0 commit comments

Comments
 (0)