Skip to content

Commit dbe26c5

Browse files
lcawldelvedor
andauthored
[7.17] cat anomaly detectors specification (#1325)
Co-authored-by: Tomas Della Vedova <[email protected]>
1 parent 9dcdca6 commit dbe26c5

File tree

6 files changed

+1053
-16
lines changed

6 files changed

+1053
-16
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)