src/vs/editor/contrib/codeAction/browser/types.ts/CodeActionCommandArgs/getKindFromUser
class CodeActionCommandArgs:	private static getKindFromUser(arg: any, defaultKind: CodeActionKind) {
		return typeof arg.kind === 'string'
			? new CodeActionKind(arg.kind)
			: defaultKind;
	}