Skip to content

Commit

Permalink
Merge pull request #39 from Sebobo/bugfix/type-issue
Browse files Browse the repository at this point in the history
BUGFIX: Fix type error in CI build
  • Loading branch information
Sebobo committed Mar 15, 2023
2 parents 61c0d77 + ce99980 commit 2155293
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -15,4 +15,4 @@ node_modules
packages/*/dist
/parcel-bundle-reports
*.d.ts
!.global.d.ts
!global.d.ts
19 changes: 19 additions & 0 deletions packages/neos-api/src/typings/global.d.ts
@@ -0,0 +1,19 @@
type SearchNodeResult = {
name: string;
nodetype: string;
contextPath: string;
icon: string;
uri: string;
};

// The settings read from the `Neos.Neos.Ui.frontendConfiguration["Shel.Neos.CommandBar:CommandBar"]` configuration
type CommandBarConfig = {
enabled: boolean;
features: {
searchNeosDocs: boolean;
searchNeosPackages: boolean;
};
hotkeys: {
filter: string[];
};
};
2 changes: 1 addition & 1 deletion tsconfig.json
Expand Up @@ -13,7 +13,7 @@
"name": "typescript-plugin-css-modules"
}
],
"typeRoots": ["./packages/commandbar/src/typings"]
"typeRoots": ["./packages/commandbar/src/typings", "./packages/neos-api/src/typings"]
},
"exclude": [
"node_modules",
Expand Down

0 comments on commit 2155293

Please sign in to comment.