mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 13:37:35 +00:00
8 lines
146 B
TypeScript
8 lines
146 B
TypeScript
import * as methods from 'methods';
|
|
|
|
methods.slice(0).map(method => method.toUpperCase());
|
|
|
|
methods.find(item => {
|
|
return item === 'get';
|
|
});
|