mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 15:44:59 +00:00
Update import
This commit is contained in:
parent
1aff33e1d1
commit
8fad694674
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user