chore: type hints
This commit is contained in:
parent
3db24756d3
commit
d818820afc
|
@ -226,6 +226,15 @@ export default class Collider extends decorate(Trait) {
|
|||
this._isCollidingWith = [];
|
||||
}
|
||||
|
||||
// eslint-disable-next-line class-methods-use-this
|
||||
hooks() {
|
||||
return {
|
||||
|
||||
contextTypeHints: () => [['other', 'entity']],
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
listeners() {
|
||||
return {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user