You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TS Intellisense hints for parameter defaults? #28925
/** * Get the hash of the last git commit from the log. * * @param {number} [length=7] Optionally cut the hash down to this length. */staticgetLastCommit(length : number=7) : string{length=Math.min(32,Math.max(7,length));returnexecSync('git log -n 1 --pretty=format:"%H"',{cwd: Path.resolve(__dirname,'..'),encoding: 'utf8'}).substr(0,length);}
Activity
[-]TS Hints for parameter defaults.[/-][+]TS Intellisense hints for parameter defaults?[/+]mjbvz commentedon Jun 21, 2017
Thanks. We would need TypeScript to add support for this. Opened microsoft/TypeScript#16665 to track this upstream