Skip to content

Commit d300905

Browse files
authored
fix typos (#1678)
* fix typos * fix typos again * Fix _meta.ts
1 parent 075eb44 commit d300905

File tree

9 files changed

+18
-15
lines changed

9 files changed

+18
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Check out the document in the [website](https://typia.io/docs/):
146146

147147
### 🔗 Appendix
148148
- [API Documents](https://typia.io/api)
149-
- Utillization Cases
149+
- Utilization Cases
150150
- [NestJS](https://typia.io/docs/utilization/nestjs/)
151151
- [tRPC](https://typia.io/docs/utilization/trpc/)
152152
- [⇲ Benchmark Result](https://github.com/samchon/typia/tree/master/benchmark/results/11th%20Gen%20Intel(R)%20Core(TM)%20i5-1135G7%20%40%202.40GHz)

src/factories/ProtobufFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ export namespace ProtobufFactory {
547547
};
548548

549549
/* -----------------------------------------------------------
550-
SEQUENE VALIDATOR
550+
SEQUENCE VALIDATOR
551551
----------------------------------------------------------- */
552552
const validateObject = (next: {
553553
object: MetadataObjectType;

test/src/features/issues/test_issue_1535_llm_application_pick.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@ export const test_issue_1535_llm_application_pick = (): void => {
1414
)(props.expected.sort());
1515
assert({
1616
title: "all",
17-
application: typia.llm.application<Mathmatics, "chatgpt">(),
17+
application: typia.llm.application<Mathematics, "chatgpt">(),
1818
expected: ["plus", "minus", "multiply", "divide"],
1919
});
2020
assert({
2121
title: "pick",
2222
application: typia.llm.application<
23-
Pick<Mathmatics, "plus" | "divide">,
23+
Pick<Mathematics, "plus" | "divide">,
2424
"chatgpt"
2525
>(),
2626
expected: ["plus", "divide"],
2727
});
2828
assert({
2929
title: "omit",
3030
application: typia.llm.application<
31-
Omit<Mathmatics, "minus" | "multiply">,
31+
Omit<Mathematics, "minus" | "multiply">,
3232
"chatgpt"
3333
>(),
3434
expected: ["plus", "divide"],
3535
});
3636
};
3737

38-
type PlusFunction = MathmaticsFunction;
39-
type MathmaticsFunction = Operation;
38+
type PlusFunction = MathematicsFunction;
39+
type MathematicsFunction = Operation;
4040
type Operation = (props: { x: number; y: number }) => number;
4141

4242
type Operator = Calculator;
43-
type Calculator = Mathmatics;
44-
interface Mathmatics {
43+
type Calculator = Mathematics;
44+
interface Mathematics {
4545
plus: PlusFunction;
46-
minus: MathmaticsFunction;
46+
minus: MathematicsFunction;
4747
multiply: Operation;
4848
divide: (props: { x: number; y: number }) => number;
4949
}

test/src/helpers/TestValidator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export namespace TestValidator {
197197
};
198198

199199
/**
200-
* Valiate search options.
200+
* Validate search options.
201201
*
202202
* Test a pagination API supporting search options.
203203
*

website/next-env.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
56
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"lz-string": "^1.5.0",
3535
"monaco-editor": "^0.50.0",
3636
"next": "^15.3.4",
37-
"nextra": "^4.2.17",
38-
"nextra-theme-docs": "^4.2.17",
37+
"nextra": "^4.6.0",
38+
"nextra-theme-docs": "^4.6.0",
3939
"path": "^0.12.7",
4040
"prettier": "^3.2.5",
4141
"react": "^18.2.0",

website/src/content/_meta.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default {
66
type: "page",
77
display: "hidden",
88
theme: {
9+
copyPage: false,
910
toc: false,
1011
},
1112
},
@@ -17,6 +18,7 @@ export default {
1718
title: "💻 Playground",
1819
type: "page",
1920
theme: {
21+
copyPage: false,
2022
layout: "full",
2123
footer: false,
2224
},

website/src/content/docs/llm/schema.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Let's see how those [type tags](../validators/tags/#type-tags), comment tags and
140140
</Tabs.Tab>
141141
</Tabs>
142142

143-
## Customziation
143+
## Customization
144144

145145
If what you want is not just filling regular properties of LLM schema specification, but to adding custom properties into the JSON schema definition, you can do it through the `tags.TagBase.schema` property type or `tags.JsonSchemaPlugin` type.
146146

website/src/content/docs/validators/assert.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Assertion guard of a value type.
142142

143143
`typia.assertGuard<T>()` is similar with [`typia.assert<T>()`](#assert-function) throwing a `TypeGuardError` when wrong type.
144144

145-
However, [`typia.assert<T>()`](#assert-function) returns the paramteric input value itself when there's no type problem on the parametric input value, whereas the `typia.assertGuard<T>()` function returns nothing. Instead, the parametric input value would be automatically cased to the type `T`. This is the concept of "Assertion Guard" of a value type.
145+
However, [`typia.assert<T>()`](#assert-function) returns the parametric input value itself when there's no type problem on the parametric input value, whereas the `typia.assertGuard<T>()` function returns nothing. Instead, the parametric input value would be automatically cased to the type `T`. This is the concept of "Assertion Guard" of a value type.
146146

147147
Such similarities and differences of `typia.assertGuard<T>()` and [`typia.assert<T>()`](#assert-function) functions are the same in the case of `typia.assertGuardEquals<T>()` and [`typia.assertEquals<T>()`](#assertequals-function) functions. If there's no type problem on the `typia.assertGuardEquals<T>()` function, it also performs the "Assertion Guard".
148148

0 commit comments

Comments
 (0)