Fix typo in docs (#813)

This commit is contained in:
Dwi Satrio W 2022-11-21 23:28:54 +07:00 committed by GitHub
parent 8b4d21ec4c
commit 267469b984
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ All the other types in Wasp language (primitive types (`string`, `number`), comp
## Complete list of Wasp types
Wasp's type system can be divided into two main categories of types: **fundamental types** and **domain types**.
While fundamental types are here to be basic building blocks of a language, and are very similar to what you would see in other popular lanuages, domain types are what makes Wasp special, as they model the concepts of a web app like `page`, `route` and similar.
While fundamental types are here to be basic building blocks of a language, and are very similar to what you would see in other popular languages, domain types are what makes Wasp special, as they model the concepts of a web app like `page`, `route` and similar.
- Fundamental types ([source of truth](https://github.com/wasp-lang/wasp/blob/main/waspc/src/Wasp/Analyzer/Type.hs))
- Primitive types

View File

@ -49,7 +49,7 @@ app TodoApp {
userEntity: User,
methods: {
usernameAndPassword: {} // We also support Google, with more on the way!
}
},
onAuthFailedRedirectTo: "/login" // We'll see how this is used a bit later
}
}