Skip to content

Commit 76584a7

Browse files
committed
update treatUnknownAsAny
1 parent c26aa5e commit 76584a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fern/products/sdks/pages/typescript/configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ config:
9999
</ParamField>
100100

101101
<ParamField path="treatUnknownAsAny" type="boolean" default="false">
102-
In Fern, there's an `unknown` type that represents data that isn't knowable at runtime. When `treatUnknownAsAny` is enabled, unknown types from Fern are generated into TypeScript using `any` instead of the `unknown` type.
102+
When `treatUnknownAsAny` is enabled, [unknown types from Fern are generated into TypeScript using `any` instead of the `unknown` type](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-0.html#new-unknown-top-type).
103103
</ParamField>
104104

105105
<ParamField path="noOptionalProperties" type="boolean" default="false">

0 commit comments

Comments
 (0)