A few assorted fixups (#318)

Discovered these while working on ChooseYourFramework. Mostly around name casing or fixing shenanigans-manager setups.
This commit is contained in:
Josh Goldberg
2022-08-21 10:45:18 -04:00
committed by GitHub
parent a537259a95
commit b0addb5e6f
6 changed files with 17 additions and 8 deletions
+3
View File
@@ -1 +1,4 @@
**/dist/
**/lib/
**/test/
node_modules/
+9 -1
View File
@@ -1,6 +1,14 @@
{
"dictionaries": ["css", "html", "softwareTerms", "typescript"],
"ignorePaths": ["dist", "lib", "node_modules", "**/*.d.ts", "**/*.js", "**/*.tsbuildinfo"],
"ignorePaths": [
"dist",
"lib",
"test",
"node_modules",
"**/*.d.ts",
"**/*.js",
"**/*.tsbuildinfo"
],
"words": [
"actorhittr",
"areaspawnr",
+1 -4
View File
@@ -1,9 +1,6 @@
{
"npmClient": "yarn",
"packages": [
"examples/*",
"packages/*"
],
"packages": ["examples/*", "packages/*"],
"useWorkspaces": true,
"version": "0.8.4"
}
+2 -2
View File
@@ -116,9 +116,9 @@ export class MenuGraphr {
/**
* @param name A name of a menu.
* @returns The menu under the given name.
* @returns The menu under the given name, if it exists.
*/
public getMenu(name: string): Menu {
public getMenu(name: string): Menu | undefined {
return this.menus[name];
}
@@ -0,0 +1 @@
!*
+1 -1
View File
@@ -8,7 +8,7 @@ export type Collection = Record<string, ChangeGroup>;
/**
* A group of changes to an item.
*/
export type ChangeGroup = Record<string, any>;
export type ChangeGroup = any;
/**
* Cache-based wrapper around localStorage for states.