You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
6
+
copilot-setup-steps:
7
+
runs-on: ubuntu-latest
8
+
9
+
# Set the permissions to the lowest permissions possible needed for your steps.
10
+
# Copilot will be given its own token for its operations.
11
+
permissions:
12
+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
13
+
contents: read
14
+
15
+
# You can define any steps you want, and they will run before the agent starts.
16
+
# If you do not check out your code, Copilot will do this for you.
accessorInAmbientContextES5.ts(25,14): error TS18045: Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher.
if(kind==="a"&&!f)thrownewTypeError("Private accessor was defined without a getter");
35
+
if(typeofstate==="function" ? receiver!==state||!f : !state.has(receiver))thrownewTypeError("Cannot read private member from an object whose class did not declare it");
36
+
returnkind==="m" ? f : kind==="a" ? f.call(receiver) : f ? f.value : state.get(receiver);
if(kind==="m")thrownewTypeError("Private method is not writable");
40
+
if(kind==="a"&&!f)thrownewTypeError("Private accessor was defined without a setter");
41
+
if(typeofstate==="function" ? receiver!==state||!f : !state.has(receiver))thrownewTypeError("Cannot write private member to an object whose class did not declare it");
42
+
return(kind==="a" ? f.call(receiver,value) : f ? f.value=value : state.set(receiver,value)),value;
43
+
};
44
+
var_RegularClass_shouldError_accessor_storage;
45
+
// Regular class should still error when targeting ES5
0 commit comments