sindresorhus / caller-callsite

Get the callsite of the caller function
MIT License
53 stars 10 forks source link

Add `depth` option #5

Closed yaodingyd closed 5 years ago

yaodingyd commented 5 years ago

Support for https://github.com/sindresorhus/caller-path/issues/4

sindresorhus commented 5 years ago

Can you document it in the readme and the TS definition?

https://github.com/sindresorhus/typescript-definition-style-guide#documentation