Update import

This commit is contained in:
Convly 2022-04-12 15:42:57 +02:00
parent 1aff33e1d1
commit 8fad694674

View File

@ -1,3 +1,5 @@
import type { Strapi } from '@strapi/strapi';
export default {
register({ strapi }: { strapi: Strapi }) {
// No error when trying the access & set the
@ -7,7 +9,7 @@ export default {
},
bootstrap({ strapi }: { strapi: Strapi }) {
const result = strapi.customAddMethod(12, 32);
const result = strapi.customAddMethod(11, 31);
// This should print "42"
console.log(result);