Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
killagu committed Oct 10, 2024
1 parent d25f595 commit e740c48
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion core/aop-runtime/test/aop-runtime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CrosscutAdviceFactory } from '@eggjs/aop-decorator';
import { CoreTestHelper, EggTestContext } from '../../test-util';
import { Hello } from './fixtures/modules/hello_succeed/Hello';
import { crosscutAdviceParams } from './fixtures/modules/hello_cross_cut/HelloCrossCut';
import { pointcutAdviceParams } from './fixtures/modules/hello_point_cut/HellloPointCut';
import { pointcutAdviceParams } from './fixtures/modules/hello_point_cut/HelloPointCut';
import { EggObjectAopHook } from '../src/EggObjectAopHook';
import { LoadUnitAopHook } from '../src/LoadUnitAopHook';
import { EggPrototypeCrossCutHook } from '../src/EggPrototypeCrossCutHook';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const crosscutAdviceParams = {
@Advice({
accessLevel: AccessLevel.PUBLIC,
})
export class CrosscutAdvice implements IAdvice<Hello, String> {
export class CrosscutAdvice implements IAdvice<Hello, string> {
@Inject()
callTrace: CallTrace;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ContextProto } from '@eggjs/core-decorator';
import { Pointcut } from '@eggjs/aop-decorator';
import { PointcutAdvice, pointcutAdviceParams } from '../hello_point_cut/HellloPointCut';
import { PointcutAdvice, pointcutAdviceParams } from '../hello_point_cut/HelloPointCut';

@ContextProto()
export class Hello {
Expand Down
2 changes: 1 addition & 1 deletion standalone/standalone/test/fixtures/aop-module/Hello.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export const crosscutAdviceParams = {
methodName: 'hello',
}, { adviceParams: crosscutAdviceParams })
@Advice()
export class CrosscutAdvice implements IAdvice<Hello, String> {
export class CrosscutAdvice implements IAdvice<Hello, string> {
@Inject()
callTrace: CallTrace;

Expand Down

0 comments on commit e740c48

Please sign in to comment.