Skip to content

Commit b95474a

Browse files
authored
fix typos (#56870)
1 parent 318cbbf commit b95474a

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

examples/auth-with-stytch/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stytch + Next.js example app on Vercel
22

3-
This is a [Stytch](https://stytch.com) + [Next.js](https://nextjs.org/) project that showcases how to enable elegant authentication in your applicaiton.
3+
This is a [Stytch](https://stytch.com) + [Next.js](https://nextjs.org/) project that showcases how to enable elegant authentication in your application.
44

55
<p align="center"><img src="./public/example-app-image.png" alt="stytch" width="50%"/></p>
66

packages/next/src/server/typescript/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ export const createTSPlugin: tsModule.server.PluginModuleFactory = ({
163163
if (metadataInfo) return metadataInfo
164164
}
165165

166-
const overriden = entryConfig.getQuickInfoAtPosition(fileName, position)
167-
if (overriden) return overriden
166+
const overridden = entryConfig.getQuickInfoAtPosition(fileName, position)
167+
if (overridden) return overridden
168168

169169
return prior
170170
}

packages/next/src/server/typescript/rules/config.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ const config = {
249249
getQuickInfoAtPosition(fileName: string, position: number) {
250250
const ts = getTs()
251251

252-
let overriden: tsModule.QuickInfo | undefined
252+
let overridden: tsModule.QuickInfo | undefined
253253
visitEntryConfig(fileName, position, (entryConfig, declaration) => {
254254
if (!API_DOCS[entryConfig]) return
255255

@@ -274,7 +274,7 @@ const config = {
274274
: !!API_DOCS[entryConfig].options?.[key]
275275

276276
if (isValid) {
277-
overriden = {
277+
overridden = {
278278
kind: ts.ScriptElementKind.enumElement,
279279
kindModifiers: ts.ScriptElementKindModifier.none,
280280
textSpan: {
@@ -295,7 +295,7 @@ const config = {
295295
}
296296
} else {
297297
// Wrong value, display the docs link
298-
overriden = {
298+
overridden = {
299299
kind: ts.ScriptElementKind.enumElement,
300300
kindModifiers: ts.ScriptElementKindModifier.none,
301301
textSpan: {
@@ -308,7 +308,7 @@ const config = {
308308
}
309309
} else {
310310
// Hovers the name of the config
311-
overriden = {
311+
overridden = {
312312
kind: ts.ScriptElementKind.enumElement,
313313
kindModifiers: ts.ScriptElementKindModifier.none,
314314
textSpan: {
@@ -326,7 +326,7 @@ const config = {
326326
}
327327
}
328328
})
329-
return overriden
329+
return overridden
330330
},
331331

332332
// Show details on the side when auto completing.

packages/next/taskfile-swc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ module.exports = function (task) {
8888
jsc: {
8989
loose: true,
9090
// Do not enable external helpers on server-side files build
91-
// _is_native_funtion helper is not compatible with edge runtime (need investigate)
91+
// _is_native_function helper is not compatible with edge runtime (need investigate)
9292
externalHelpers: false,
9393
parser: {
9494
syntax: 'typescript',

0 commit comments

Comments
 (0)