mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +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';
|
|
});
|