Skip to content

Commit 3c53c17

Browse files
chore(format): 🤖 ✨ (#274)
Co-authored-by: ecoscript[bot] <143032650+ecoscript[bot]@users.noreply.github.com>
1 parent 61f3217 commit 3c53c17

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

‎package.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@
1313
"type": "git",
1414
"url": "git+ssh://[email protected]/portabletext/react-portabletext.git"
1515
},
16-
"license": "MIT",
1716
"author": "Sanity.io <[email protected]>",
17+
"license": "MIT",
1818
"sideEffects": false,
1919
"type": "module",
20+
"main": "./dist/index.js",
2021
"exports": {
2122
".": "./src/index.ts",
2223
"./package.json": "./package.json"
2324
},
24-
"main": "./dist/index.js",
2525
"module": "./dist/index.js",
2626
"types": "./dist/index.d.ts",
2727
"files": [
28-
"dist",
29-
"!dist/stats.html"
28+
"!dist/stats.html",
29+
"dist"
3030
],
3131
"scripts": {
3232
"build": "tsdown",

‎src/types.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ export interface PortableTextMarkComponentProps<M extends TypedObject = Arbitrar
281281
*/
282282
export type UnknownNodeType =
283283
| {
284-
_type: string;
285-
[key: string]: unknown;
284+
_type: string
285+
[key: string]: unknown
286286
}
287-
| TypedObject;
287+
| TypedObject
288288

289289
/**
290290
* Function that renders any node that might appear in a portable text array or block,

‎tsconfig.dist.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"extends": ["./tsconfig.json", "@sanity/tsconfig/isolated-declarations"],
3-
"include": ["./src"],
3+
"include": ["./src"]
44
}

‎tsconfig.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
"rootDir": ".",
66
"outDir": "./dist",
77

8-
"noUncheckedIndexedAccess": true,
9-
},
8+
"noUncheckedIndexedAccess": true
9+
}
1010
}

0 commit comments

Comments
 (0)