Skip to content

Commit

Permalink
remove default
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed May 15, 2024
1 parent d472a4f commit 024d70a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions typespec-extension/src/code-model-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2577,22 +2577,6 @@ export class CodeModelBuilder {
}
}

// private getDefaultValue(type: Type | undefined): any {
// if (type) {
// switch (type.kind) {
// case "String":
// return type.value;
// case "Number":
// return type.value;
// case "Boolean":
// return type.value;
// // case "Tuple":
// // return type.values.map(getDefaultValue);
// }
// }
// return undefined;
// }

private getDoc(target: Type): string {
return getDoc(this.program, target) || "";
}
Expand Down

0 comments on commit 024d70a

Please sign in to comment.