Skip to content

Commit 2a7b316

Browse files
authored
Update docs/context/spec.md
1 parent 91114d6 commit 2a7b316

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/context/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ This Standard defines a number of conventions for the fields of context types th
106106

107107
#### Avoid union types / composition of primitive types
108108

109-
Both Typescript and JSON Schema allow for a type of polymorphism in types and interfaces that is hard to represent in other languages: allowing the type of a variable to be a ['union'](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) of other, unrelated types. E.g.: in typescript
109+
Both Typescript and JSON Schema allow for a type of polymorphism in types and interfaces that is hard to represent in other languages: allowing the type of a variable to be a ['union'](https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#union-types) of other, unrelated types. E.g.: in TypeScript
110110

111111
```ts
112112
type Example = SomeOtherType | YetAnotherType;

0 commit comments

Comments
 (0)