mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Fix typo in docs (#813)
This commit is contained in:
parent
8b4d21ec4c
commit
267469b984
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user