Skip to content

Commit db7790a

Browse files
lcawldelvedor
andauthored
cat anomaly detectors specification (#1303) (#1324)
Co-authored-by: Tomas Della Vedova <[email protected]>
1 parent 4cf59cb commit db7790a

File tree

6 files changed

+999
-11
lines changed

6 files changed

+999
-11
lines changed

docs/style-guide.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ represented in the specification.
5656
## Where to store files
5757

5858
The content of [`/specification`](../specification) follows the rest-api-spec structure.
59-
Every folder represents the namespace, while every subfolder represente the API name.
59+
Every folder represents the namespace, while every subfolder represent the API name.
6060
For top level APIs, you must use the `_global` namespace.
6161

6262
## Using unions
6363

64-
Using unions direclty in definitions is considereded code smell, it's recommended to create
65-
a type alias that describes the union. These alises do not need to live in common files
64+
Using unions directly in definitions is considered code smell, it's recommended to create
65+
a type alias that describes the union. These aliases do not need to live in common files
6666
unless those are truly commonly used throughout the specification.
6767

6868
```ts
@@ -81,7 +81,7 @@ type Id = string | number
8181
## Arrays
8282
8383
It's fine to use the short TypeScript array notation, unless the type
84-
becomes more comples (eg: array of unions), in such case prefer the full definition.
84+
becomes more complex (eg: array of unions), in such case prefer the full definition.
8585
8686
```ts
8787
class Foo {

0 commit comments

Comments
 (0)