Skip to content
This repository was archived by the owner on Jun 26, 2021. It is now read-only.

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
typeofweb committed Aug 5, 2019
1 parent dd3c275 commit f050e5d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .editoconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# http://editorconfig.org
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100

[*.md]
trim_trailing_whitespace = false
max_line_length = 0

[COMMIT_EDITMSG]
max_line_length = 0
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
10
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ This is a compile-time TypeScript error even though `USER.id` and `INVOICE.id` a
Thanks to Functional ORM, each column has a unique nominal type which is incompatible with others:

```ts
const query2 = select(USER.columns.id)(from(INVOICE)());
const query2 = select(USER.columns.id)(from(INVOICE)()); // Type '"invoice.id"' is not assignable to type '"user.id"'.
```

### Typesafety of columns
Expand Down

0 comments on commit f050e5d

Please sign in to comment.