Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Typescript #579

Closed
wants to merge 18 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: ⚰️ Remove dead argument hash
MokiyCodes committed Mar 20, 2022
commit b3bca9375effa5c3670add710f071056c81d7a68
2 changes: 1 addition & 1 deletion src/lib/command.ts
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ export default class Command implements Cmd {
parentBase: Cmd['parentBase'];
base: Cmd['base'];
path: Cmd['path'];
constructor (params: Cmd['params'], parent?: Cmd['parent'], hash?: Cmd['hash']) {
constructor (params: Cmd['params'], parent?: Cmd['parent']) {
this.params = params
this.parent = parent
this.hash = parent ? parent.hash : {}