mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Type check safe-chain package
This commit is contained in:
parent
d5dc801c00
commit
c88b1a624f
60 changed files with 1179 additions and 33 deletions
|
|
@ -73,6 +73,7 @@ const commands = [
|
|||
];
|
||||
|
||||
// These must resolve to an entry in commands
|
||||
/** @type {Record<string, string>} */
|
||||
const aliases = {
|
||||
// aliases
|
||||
author: "owner",
|
||||
|
|
@ -138,6 +139,10 @@ const aliases = {
|
|||
"add-user": "adduser",
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} c
|
||||
* @returns {string | undefined}
|
||||
*/
|
||||
export function deref(c) {
|
||||
if (!c) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue