Skip to content

Commit

Permalink
docs: readme: example
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser authored Jul 14, 2023
1 parent 65a07d9 commit 07559f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ import putout from 'https://esm.sh/@putout/bundle';
import removeDebugger from 'https://esm.sh/@putout/plugin-remove-debugger?alias=putout:@putout/bundle';
import declare from 'https://esm.sh/@putout/plugin-declare?alias=putout:@putout/bundle';

putout('isFn(fn, "hello"); debugger', {
putout('isFn(fn); debugger', {
plugins: [
['remove-debugger', removeDebugger],
['declare', declare],
Expand All @@ -203,7 +203,7 @@ putout('isFn(fn, "hello"); debugger', {

// returns
({
code: `const isFn = a => typeof a === 'function';\nisFn(fn, "hello");`,
code: `const isFn = a => typeof a === 'function';\nisFn(fn);`,
places: [],
});
```
Expand Down

0 comments on commit 07559f9

Please sign in to comment.