Skip to content

Commit 61f3e0e

Browse files
Copilothotlong
andcommitted
Address code review feedback - improve imports and config
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent bcf3256 commit 61f3e0e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ console.log();
3535
console.log('👁️ Views:');
3636
console.log(' List View:', exampleListView.name);
3737
console.log(' Type:', exampleListView.type);
38-
console.log(' Columns:', exampleListView.columns?.length);
38+
console.log(' Columns:', exampleListView.columns.length);
3939
console.log();
4040
console.log(' Kanban View:', exampleKanbanView.name);
4141
console.log(' Type:', exampleKanbanView.type);

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*/
77

88
// Export plugin configuration
9-
export { config, default as default } from './objectstack.config.js';
9+
export { config, default } from './objectstack.config.js';
1010

1111
// Export objects
1212
export { exampleObject } from './objects/example.object.js';

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"compilerOptions": {
33
"target": "ES2022",
4-
"module": "ES2022",
4+
"module": "NodeNext",
55
"lib": ["ES2022"],
6-
"moduleResolution": "node",
6+
"moduleResolution": "NodeNext",
77
"esModuleInterop": true,
88
"allowSyntheticDefaultImports": true,
99
"strict": true,

0 commit comments

Comments
 (0)