Error CS0029 Cannot implicitly convert type 'bool' to 'UnityEdiotor.ModelImpotterClipAnimation[]'how fix?

How I can fix it?

        if (assetPath.Contains(objectName))
        {
            ModelImporter modelImporter = ModelImporter.GetAtPath(assetPath) as ModelImporter;
			modelImporter.clipAnimations = true;
            modelImporter.generateAnimations = ModelImporterGenerateAnimations.InRoot;

This line is the problem:

modelImporter.clipAnimations = true;

What are you trying to do?