mirror of
https://github.com/hanzoai/prettier.git
synced 2026-09-24 17:02:04 +00:00
14 lines
169 B
JavaScript
14 lines
169 B
JavaScript
const id = require('./id');
|
|
|
|
export type ObjectType = {
|
|
+m: () => void,
|
|
};
|
|
|
|
function methodCaller(x: ObjectType) {
|
|
x.m();
|
|
};
|
|
|
|
module.exports = id(
|
|
methodCaller
|
|
);
|