Compile error when I use TArray

I am very new to Unreal so trying many sample codes to learn.
I create a C++ basic code project for mobile/tablet on XCode.

I got stuck with this error: “unknown type name TArray”.
Once I add a line of TArray variable declaration it is not compiled.

I thought that it was a header problem so checked it, but I think it is alright.
I included “CoreMinimal.h”, and “CoreMinimal.h” includes “Containers/Array.h” which has the definition of TArray class, so I think it should work fine.
Am I missing something? Any help would be appreciated.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/GameModeBase.h"
#include "MyProjectGameModeBase.generated.h"

UCLASS()
class MYPROJECT_API AMyProjectGameModeBase : public AGameModeBase
{
	GENERATED_BODY()
	virtual void StartPlay() override;
	TArray MyArray;		// this line cause the compile error
};

TArray is a template, you have to use it like TArray<int32>.

Oh! it works. Thank you so much.
I should’ve checked the documentation first lolll